import request from "@/utils/request"

export function getList(obj) {
  return request({
    url: "/jobRealTime/getList",
    method: "get",
    params: obj
  })
}

export function submitTask(obj) {
  return request({
    url: "/jobRealTime/add",
    method: "post",
    data: obj
  })
}

export function add(obj) {
  return request({
    url: "/jobRealTime/saveJob",
    method: "post",
    data: obj
  })
}

export function jobStart(obj) {
  return request({
    url: "/jobRealTime/jobStart",
    method: "get",
    params: obj
  })
}

export function update(obj) {
  return request({
    url: "/jobRealTime/update",
    method: "post",
    data: obj
  })
}

export function updataJobList(obj) {
  return request({
    url: "/jobRealTime/updataJobList",
    method: "get",
    params: obj
  })
}

export function del(obj) {
  return request({
    url: "/jobRealTime/delete",
    method: "get",
    params: obj
  })
}


